package com.atos.smp.business.impl;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.atos.smp.beans.SessionEvent;
import com.atos.smp.business.SessionEventManager;
import com.atos.smp.dao.SessionEventDao;

public class SessionEventManagerImpl implements SessionEventManager,Serializable {

	
	private SessionEventDao dao;
	
	public SessionEventManagerImpl(SessionEventDao dao) {
		super();
		this.dao= dao;
		
	}

	@Override
	public List<SessionEvent> findAllSessionEvent(String das) {
		return dao.findAllSessionEvent(das);
	}

	@Override
	public List<SessionEvent> findSessionEventByDay(String das, Date date) {
		return dao.findSessionEventByDay(das, date);
	}

	@Override
	public List<SessionEvent> findSessionEventBetweenDates(String das,
			Date dateDebut, Date DateFin) {
		return dao.findSessionEventBetweenDates(das, dateDebut, DateFin);
	}

	@Override
	public List<SessionEvent> findSessionEventByMounth(String das, int year,
			int mounth) {
		return dao.findSessionEventByMounth(das, year, mounth);
	}

	@Override
	public List<SessionEvent> findSessionEventByYear(String das, int year) {
		return dao.findSessionEventByYear(das, year);
	}

	@Override
	public List<SessionEvent> findSessionEventByName(String das, SessionEvent se) {
		return dao.findSessionEventByName(das, se);
	}
	
}
